package lab02.text09;

/**
 * Created by HASEE on 2017/10/25.
 */
public class Student {
    public static void main(String[] args) {
    }

    //“学号”、“班号”、“姓名”、“性别”、“年龄”
    String Sno;
    String Cno;
    String name;
    String gender;
    String age;


    public String getSno() {return Sno;}
    public  String getCno() {return  Cno;}
    public  String getName() {return name;}
    public  String getGender() {return  gender;}
    public String getAge() {return age ;}
    Student(String sno,String cno ,String name,String gender) {
        System.out.println("学号：" + getSno());
        System.out.println("班号：" + getCno());
        System.out.println("姓名：" + getName());
        System.out.println("性别：" + getGender());
        System.out.println("年龄：" + getAge());

    }
}